package com.niguang.work.api.service;

import com.niguang.common.pojo.Result;
import com.niguang.work.api.entity.WechatUser;
import com.baomidou.mybatisplus.service.IService;
import org.springframework.web.bind.annotation.RequestParam;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import java.io.IOException;

/**
 * <p>
 * 'work.v_personSite' is not BASE TABLE 服务类
 * </p>
 *
 * @author chenliu
 * @since 2018-07-23
 */
public interface WechatUserService extends IService<WechatUser> {

    Object toWechatPage(HttpServletRequest request, HttpServletResponse response) throws IOException;


    Result bindUser(WechatUser wechatUser);


    Result sendSms(String userPhone);


    Result getPushNewUserMsg(String pushUid);

    Result pushWeChateTitle();



}
